
def internal_1():
  """ C1. Internal call DN1 to DN2, release DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.ReleaseCall()

def internal_2():
  """ C2. Internal call DN1 to DN3, abnormal release DN1"""
  SiebelAg1.MakeCall(DN3)
  SiebelAg1.ReleaseCall()

def internal_3():
  """ C3. Internal call DN1 to ACD3,  release PosID3"""
  SiebelAg1.MakeCall(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg3.ReleaseCall()

def internal_4():
  """ C4. Internal call DN1 to ACD3,  abnormal release DN1"""
  SiebelAg3.SetNotReady()
  SiebelAg1.MakeCall(ACD3)
  SiebelAg1.ReleaseCall()
  SiebelAg3.SetReady()

def internal_5():
  """ C5. Internal call DN1 to ACD3 agent NotReady Ready"""
  SiebelAg3.SetNotReady()
  SiebelAg1.MakeCall(ACD3)
  SiebelAg3.SetReady()
  SiebelAg3.AnswerCall()
  SiebelAg3.ReleaseCall()


def internal_12():
  """ C12. Internal call DN1 to  DN2, two step transfer to DN3, release DN3"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg2.CompleteTransfer()
  SiebelAg3.ReleaseCall()


def internal_13():
  """ C13. Internal call DN1 to  DN2, tinit to DN3, abnormal release DN2, rel DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(DN3)
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_14():
  """ C14. Internal call DN1 to  DN2, tinit to DN3, rel DN1, DN3 ans, DN2 rel"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(DN3)
  SiebelAg1.ReleaseCall()

def internal_15():
  """ C15. Internal call DN1 to DN2, two step transfer to DN3, compl bef consul party answer"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(DN3)
  SiebelAg2.CompleteTransfer()
  SiebelAg3.AnswerCall()
  SiebelAg1.ReleaseCall()

def internal_16():
  """ C16. Internal call, two step transfer to DN3, completed before consul party answer, abnor"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(DN3)
  SiebelAg2.CompleteTransfer()
  SiebelAg1.ReleaseCall()

def internal_17():
  """ C17. Internal call DN1 to  DN2,  DN2 two step transfer to ACD3, release PosID3"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg2.CompleteTransfer()
  SiebelAg3.ReleaseCall()

def internal_18():
  """ C18. Internal call DN1 to  DN2, two step transfer to ACD3, ANR_R, release PosID3"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.InitiateTransfer(ACD3)
  SiebelAg3.SetReady()
  SiebelAg3.AnswerCall()
  SiebelAg2.CompleteTransfer()
  SiebelAg3.ReleaseCall()

def internal_19():
  """ C19. Internal call DN1-DN2, two step transfer to ACD3, compl bef cons party ans """
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(ACD3)
  SiebelAg2.CompleteTransfer()
  SiebelAg3.AnswerCall()
  SiebelAg3.ReleaseCall()

def internal_20():
  """ C20. Internal call DN1 to DN2, two step transfer to ACD3, compl bef cons party ans, abnor"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.InitiateTransfer(ACD3)
  SiebelAg2.CompleteTransfer()
  SiebelAg1.ReleaseCall()
  SiebelAg3.SetReady()

def internal_21():
  """ C21. Internal call DN1 to  ACD2, two step transfer to DN3, release DN3"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg2.CompleteTransfer()
  SiebelAg3.ReleaseCall()

def internal_22():
  """ C22. Internal call DN1 to  ACD2, tinit to DN3, abnormal release PosID2, rel DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(DN3)
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_23():
  """ C23. Internal call DN1 to ACD2, two step transfer to DN3, compl before cons party answer"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(DN3)
  SiebelAg2.CompleteTransfer()
  SiebelAg3.AnswerCall()
  SiebelAg1.ReleaseCall()

def internal_24():
  """ C24. Internal call DN1 to ACD2, two step transfer to DN3, compl before cons party answer, abnor"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(DN3)
  SiebelAg2.CompleteTransfer()
  SiebelAg1.ReleaseCall()

def internal_25():
  """ C25. Internal call DN1 to ACD2,  ACD2 two step transfer to ACD3, release PosID3"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg2.CompleteTransfer()
  SiebelAg3.ReleaseCall()

def internal_26():
  """ C26. Internal call DN1 to ACD2, two step transfer to ACD3, ANR_R, release PosID3"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.InitiateTransfer(ACD3)
  SiebelAg3.SetReady()
  SiebelAg3.AnswerCall()
  SiebelAg2.CompleteTransfer()
  SiebelAg3.ReleaseCall()

def internal_27():
  """ C27. Internal call DN1 to ACD2, two step transfer to ACD3, compl before consul party answer"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(ACD3)
  SiebelAg2.CompleteTransfer()
  SiebelAg3.AnswerCall()
  SiebelAg3.ReleaseCall()

def internal_28():
  """ C28. Internal call DN1 to ACD2, two step transfer to ACD3, compl bef consul party answer, abnor """
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.InitiateTransfer(ACD3)
  SiebelAg2.CompleteTransfer()
  SiebelAg1.ReleaseCall()
  SiebelAg3.SetReady()

def internal_29():
  """ C29. Internal call DN1 to ACD2, tinit to DN3, rel DN1 """
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(DN3)
  SiebelAg1.ReleaseCall()


def internal_31():
  """ C31. Internal call DN1 to ACD2, tinit to busy ACD3, rel DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.InitiateTransfer(ACD3)
  SiebelAg1.ReleaseCall()
  SiebelAg3.SetReady()


def internal_35():
  """ C35. Internal call DN1 to DN2, Internal conference to DN3, release DN1, DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateConference(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg2.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_36():
  """ C36. Internal call DN1 to DN2, DN2 cinit conference to DN3, abnorl release DN2, release DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateConference(DN3)
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_37():
  """ C37. Internal call DN1 to DN2, Internal conference to ACD3, release DN1, DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateConference(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg2.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_38():
  """ C38. Internal call DN1 to DN2, DN2 init conference to ACD3, abn release DN2, rel DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateConference(ACD3)
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_39():
  """ C39. Internal call DN1 to DN2, Internal conference to ACD3, agent NotReady-Ready"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.InitiateConference(ACD3)
  SiebelAg3.SetReady()
  SiebelAg3.AnswerCall()
  SiebelAg2.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_40():
  """ C40. Internal call DN1 to ACD2, Internal conference to DN3, release DN1, PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateConference(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg2.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_41():
  """ C41. Internal call DN1 to ACD2, PosID2 cinit conference to DN3, abn rel PosID2, release DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateConference(DN3)
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_42():
  """ C42. Internal call DN1 to ACD2, Internal conference to ACD3, release DN1, PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateConference(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg2.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_43():
  """ C43. Internal call DN1 to ACD2, PosID2 init conference to ACD3, abnormal rel PosID2, rel DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateConference(ACD3)
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_44():
  """ C44. Internal call DN1 to ACD2, Internal conference to ACD3, agent NotReady-Ready"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.InitiateConference(ACD3)
  SiebelAg3.SetReady()
  SiebelAg3.AnswerCall()
  SiebelAg2.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_45():
  """ C45. Internal call DN1 to DN2, mute transfer to DN3, release DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.MuteTransfer(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg1.ReleaseCall()


def internal_46():
  """ C46. Internal call DN1 to DN2, mute transfer to ACD3, release DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.MuteTransfer(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg1.ReleaseCall()

def internal_47():
  """ C47. Internal call DN1 to DN2, mute transfer to ACD3, agent NotReady-Ready, release DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.MuteTransfer(ACD3)
  SiebelAg3.SetReady()
  SiebelAg3.AnswerCall()
  SiebelAg1.ReleaseCall()

def internal_48():
  """ C48. Internal call DN1 to DN2, mute transfer to DN3, abnormal release DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg2.MuteTransfer(DN3)
  SiebelAg1.ReleaseCall()

def internal_49():
  """ C49. Internal call DN1 to DN2, mute transfer to ACD3, agent NotReady-Ready, abnormal release DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.MuteTransfer(ACD3)
  SiebelAg1.ReleaseCall()
  SiebelAg3.SetReady()

def internal_50():
  """ C50. Internal call DN1 to ACD2, mute transfer to DN3, release DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.MuteTransfer(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg1.ReleaseCall()

def internal_51():
  """ C51. Internal call DN1 to ACD2, mute transfer to ACD3, release DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.MuteTransfer(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg1.ReleaseCall()

def internal_52():
  """ C52. Internal call DN1 to ACD2, mute transfer to ACD3, agent NotReady-Ready, release DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.MuteTransfer(ACD3)
  SiebelAg3.SetReady()
  SiebelAg3.AnswerCall()
  SiebelAg1.ReleaseCall()

def internal_53():
  """ C53. Internal call DN1 to ACD2, mute transfer to DN3, abnormal release DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.MuteTransfer(DN3)
  SiebelAg1.ReleaseCall()

def internal_54():
  """ C54. Internal call DN1 to ACD2, mute transfer to ACD3, agent NotReady-Ready, abnormal release DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.MuteTransfer(ACD3)
  SiebelAg1.ReleaseCall()
  SiebelAg3.SetReady()

def internal_55():
  """CR1. DN1 call to DN2, DN1 transfer to DN3, release DN3"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteTransfer()
  SiebelAg3.ReleaseCall()

def internal_56():
  """CR2. DN1 call to DN2, DN1 tinit to DN3, abn release DN1, release DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(DN3)
  SiebelAg1.ReleaseCall()         #works as complete transfer
  SiebelAg2.ReleaseCall()

def internal_57():
  """CR3. DN1 call to DN2, DN1 tinit to DN3, rel DN2, """
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(DN3)
  SiebelAg2.ReleaseCall()


def internal_60():
  """CR6. DN1 call to DN2, DN1 blind to DN3, release DN3"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(DN3)
  SiebelAg1.CompleteTransfer()
  SiebelAg3.AnswerCall()
  SiebelAg3.ReleaseCall()

def internal_61():
  """CR7. DN1 call to DN2, DN1 blind  to DN3,abn release DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(DN3)
  SiebelAg1.CompleteTransfer()
  SiebelAg2.ReleaseCall()

def internal_62():
  """CR8. DN1 call to DN2, DN1 transfer to ACD3, release PosID3"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteTransfer()
  SiebelAg3.ReleaseCall()

def internal_63():
  """CR9. DN1 call to DN2, DN1 tinit  to ACD3,abn release DN1, release DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg1.ReleaseCall()   #works as complete transfer
  SiebelAg2.ReleaseCall()



def internal_65():
  """CR11. DN1 call to DN2, DN1 tinit  to ACD3, release DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg2.ReleaseCall()


def internal_66():
  """CR12. DN1 call to DN2, DN1 blind transfer to ACD3,release PosID3"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg1.CompleteTransfer()
  SiebelAg3.AnswerCall()
  SiebelAg3.ReleaseCall()

def internal_67():
  """CR13. DN1 call to DN2, DN1 blinb transfer to ACD3,abn release DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg1.CompleteTransfer()
  SiebelAg2.ReleaseCall()

def internal_68():
  """CR14. DN1 call to DN2, DN1 tinit to ACD3, rel DN2, PosID3 ans, DN1 rel"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg2.ReleaseCall()

def internal_69():
  """CR15. DN1 call to DN2, DN1 tinit to ACd3, rel DN2, DN1 rel"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg2.ReleaseCall()
  SiebelAg3.SetReady()


def internal_72():
  """CR18. DN1 call to ACD2, DN1 transfer to DN3, release DN3"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteTransfer()
  SiebelAg3.ReleaseCall()

def internal_73():
  """CR19. DN1 call to ACD2, DN1 tinit to DN3, abn release DN1, release PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(DN3)
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_74():
  """CR20. DN1 call to ACD2, DN1 tinit to DN3, rel PosID2, """
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(DN3)
  SiebelAg2.ReleaseCall()


def internal_75():
  """CR21. DN1 call to ACD2, DN1 tinit to DN3, abn rel DN1, release PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(DN3)
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_76():
  """CR22. DN1 call to ACD2, DN1 tinit to DN3,  rel PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(DN3)
  SiebelAg2.ReleaseCall()

def internal_77():
  """CR23. DN1 call to ACD2, DN1 blind to DN3, release DN3"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(DN3)
  SiebelAg1.CompleteTransfer()
  SiebelAg3.AnswerCall()
  SiebelAg3.ReleaseCall()

def internal_78():
  """CR24. DN1 call to ACD2, DN1 blind  to DN3,abn release PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(DN3)
  SiebelAg1.CompleteTransfer()
  SiebelAg2.ReleaseCall()

def internal_79():
  """CR25. DN1 call to ACD2, DN1 transfer to ACD3, release PosID3"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteTransfer()
  SiebelAg3.ReleaseCall()

def internal_80():
  """CR26. DN1 call to ACD2, DN1 tinit  to ACD3,abn release DN1, release PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()


def internal_82():
  """CR28. DN1 call to ACD2, DN1 tinit  to ACD3, release PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg2.ReleaseCall()


def internal_83():
  """CR29. DN1 call to ACD2, DN1 blind transfer to ACD3,release PosID3"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg1.CompleteTransfer()
  SiebelAg3.AnswerCall()
  SiebelAg3.ReleaseCall()

def internal_84():
  """CR30. DN1 call to ACD2, DN1 blinb transfer to ACD3,abn release PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg1.CompleteTransfer()
  SiebelAg2.ReleaseCall()

def internal_85():
  """CR31. DN1 call to ACD2, DN1 tinit to ACD3, rel PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg2.ReleaseCall()


def internal_86():
  """CR32. DN1 call to ACD2, DN1 tinit to busy ACD3, rel PosID2,"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg1.InitiateTransfer(ACD3)
  SiebelAg2.ReleaseCall()
  SiebelAg3.SetReady()


def internal_89():
  """CR35. DN1 call to DN2, DN1 conference to DN3, release DN1, DN3"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg3.ReleaseCall()

def internal_90():
  """CR36. DN1 call to DN2, DN1 cinit to DN3, abnormal release DN1, release DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(DN3)
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_91():
  """CR37. DN1 call to DN2, DN1 cinit to DN3, release DN1, release DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_92():
  """CR38. DN1 call to DN2, DN1 cinit to DN3, release DN2, release DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_93():
  """CR39. DN1 call to DN2, DN1 conference to DN3, release DN1, DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_94():
  """CR40. DN1 call to DN2, DN1 conference to DN3, release DN2, DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteConference()
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_95():
  """CR41. DN1 call to DN2, DN1 conference to ACD3, release DN1, PosID3"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg3.ReleaseCall()

def internal_96():
  """CR42. DN1 call to DN2, DN1 cinit to ACD3, abnormal release DN1, release DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(ACD3)
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_97():
  """CR43. DN1 call to DN2, DN1 cinit to ACD3, release DN1, release DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_98():
  """CR44. DN1 call to DN2, DN1 cinit to ACD3, release DN2, release DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_99():
  """CR45. DN1 call to DN2, DN1 conference to ACD3, release DN1 and DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_100():
  """CR46. DN1 call to DN2, DN1 conference to ACD3, release DN2, DN1"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteConference()
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_101():
  """CR47. DN1 call to ACD2, DN1 conference to DN3, release DN1, DN3"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg3.ReleaseCall()

def internal_102():
  """CR48. DN1 call to ACD2, DN1 cinit to DN3, abnormal release DN1, release PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(DN3)
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_103():
  """CR49. DN1 call to ACD2, DN1 cinit to DN3, release DN1, release PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_104():
  """CR50. DN1 call to ACD2, DN1 cinit to DN3, release PosID2, release DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_105():
  """CR51. DN1 call to ACD2, DN1 conference to DN3, release DN1, ACD2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_106():
  """CR52. DN1 call to ACD2, DN1 conference to DN3, release PosID2, DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteConference()
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_107():
  """CR53. DN1 call to ACD2, DN1 conference to ACD3, release DN1, PosID3"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg3.ReleaseCall()

def internal_108():
  """CR54. DN1 call to ACD2, DN1 cinit to ACD3, abnormal release DN1, release PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(ACD3)
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_109():
  """CR55. DN1 call to ACD2, DN1 cinit to ACD3, release DN1, release PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_110():
  """CR56. DN1 call to ACD2, DN1 cinit to ACD3, release PosID2, release DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_111():
  """CR57. DN1 call to ACD2, DN1 conference to ACD3, release DN1 and PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteConference()
  SiebelAg1.ReleaseCall()
  SiebelAg2.ReleaseCall()

def internal_112():
  """CR58. DN1 call to ACD2, DN1 conference to ACD3, release PosID2, DN1"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.InitiateConference(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg1.CompleteConference()
  SiebelAg2.ReleaseCall()
  SiebelAg1.ReleaseCall()

def internal_113():
  """CR59. DN1 call to DN2, DN1 mute transfer to DN3, release  DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.MuteTransfer(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg2.ReleaseCall()
 
def internal_114():
  """CR60. DN1 call to DN2, DN1 mute transfer to DN3, release  DN3"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.MuteTransfer(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg3.ReleaseCall()

def internal_115():
  """CR61. DN1 call to DN2, DN1 mute transfer to DN3, abnormal release  DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.MuteTransfer(DN3)
  SiebelAg2.ReleaseCall()

def internal_116():
  """CR62. DN1 call to DN2, DN1 mute transfer to ACD3, release  DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.MuteTransfer(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg2.ReleaseCall()

def internal_117():
  """CR63. DN1 call to DN2, DN1 mute transfer to ACD3, release  PosID3"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.MuteTransfer(ACD3)
  SiebelAg3.AnswerCall()
  SiebelAg3.ReleaseCall()

def internal_118():
  """CR64. DN1 call to DN2, DN1 mute transfer to ACD3, abnormal release  DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg1.MuteTransfer(ACD3)
  SiebelAg2.ReleaseCall()

def internal_119():
  """CR65. DN1 call to DN2, DN1 mute transfer to busy ACD3, agent Ready, release  DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg1.MuteTransfer(ACD3)
  SiebelAg3.SetReady()
  SiebelAg3.AnswerCall()
  SiebelAg2.ReleaseCall()

def internal_120():
  """CR66. DN1 call to DN2, DN1 mute transfer to busy ACD3, agen Ready, abn release  DN2"""
  SiebelAg1.MakeCall(DN2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg1.MuteTransfer(ACD3)
  SiebelAg2.ReleaseCall()
  SiebelAg3.SetReady()

def internal_121():
  """CR67. DN1 call to ACD2, DN1 mute transfer to DN3, release  PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.MuteTransfer(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg2.ReleaseCall()

def internal_122():
  """CR68. DN1 call to ACD2, DN1 mute transfer to DN3, release  DN3"""
  #PosID2 could be stocked after call
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.MuteTransfer(DN3)
  SiebelAg3.AnswerCall()
  SiebelAg3.ReleaseCall()

def internal_123():
  """CR69. DN1 call to ACD2, DN1 mute transfer to DN3, abnormal release  PosID2"""
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg1.MuteTransfer(DN3)
  SiebelAg2.ReleaseCall()


def internal_29a():
  """ C29. Internal call DN1 to ACD2, tinit to DN3, rel DN1 """
  LocalTserver.cfgApp.ChangeOption("Tserver", "enable-retrieve-on-release", "false")
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(DN3)
  SiebelAg1.ReleaseCall()


def internal_31a():
  """ C31. Internal call DN1 to ACD2, tinit to busy ACD3, rel DN1"""
  LocalTserver.cfgApp.ChangeOption("Tserver", "enable-retrieve-on-release", "false")
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.InitiateTransfer(ACD3)
  SiebelAg1.ReleaseCall()
  SiebelAg3.SetReady()

def internal_29b():
  """ C29. Internal call DN1 to ACD2, tinit to DN3, rel DN1 """
  LocalTserver.cfgApp.ChangeOption("Tserver", "enable-retrieve-on-release", "true")
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg2.InitiateTransfer(DN3)
  SiebelAg1.ReleaseCall()


def internal_31b():
  """ C31. Internal call DN1 to ACD2, tinit to busy ACD3, rel DN1"""
  LocalTserver.cfgApp.ChangeOption("Tserver", "enable-retrieve-on-release", "true")
  SiebelAg1.MakeCall(ACD2)
  SiebelAg2.AnswerCall()
  SiebelAg3.SetNotReady()
  SiebelAg2.InitiateTransfer(ACD3)
  SiebelAg1.ReleaseCall()
  SiebelAg3.SetReady()

